namespace RBAC.Read.Api.Application.Dto.Bom
{
    using System.Collections.Generic;

    public class BomItemTreeDto
    {
        public long Id { get; set; }
        public long BomId { get; set; }
        public string? BomName { get; set; }
        public long? ParentId { get; set; }
        public long MaterialId { get; set; }
        public string? MaterialName { get; set; }
        public decimal Qty { get; set; }
        public int? Position { get; set; }
        public List<BomItemTreeDto> Children { get; set; } = new();
    }
}
